package com.bat.spring.normalbean;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @author: liusen
 * @date: 2022-04-10
 * @desc:
 **/
@Component
public class Apple {

	public Apple() {
		System.out.println(" Apple()");
	}

	//生命周期初始化回调方法
	@PostConstruct
	public void zinit(){
		System.out.println(" Apple PostConstruct");
	}
}
